<html>
 
<title>Create New Document</title>
 
<body>
	<h2>Create New Document</h2>
	<g:if test="${flash.notice}">
		${flash.notice}
	</g:if>
	<g:if test="${flash.error}">
		${flash.error}
	</g:if>
	<form name="documentTypeForm" action="save">
		<table>
			<tr>
				<th>Name</th>
				<td><g:textField name="name" value="${documentType?.name }" /></td>
			</tr>
			<tr>
				<th>Description</th>
				<td><g:textField name="description" value="${documentType?.description }" /></td>
			</tr>								
			<tr>
				<th></th>
				<td><g:submitButton name="save" value="Save"/></td>
			</tr>
		</table>
	</form>
</body>
</html> 
